<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../utils/bootstrap.css">
    <link rel="stylesheet" href="../style/base.css">
    <link rel="stylesheet" href="../style/student.css">
    <script src="../utils/jquery-3.6.4.min.js"></script>
    <script src="../utils/bootstrap.js"></script>
</head>

<body>
    <div class="container-fluid home">
        <header class="clearfix">
            <h1>w329考试系统</h1>
            <div>
                <span>张三</span>
                <span class="glyphicon glyphicon-off exit"></span>
            </div>
        </header>
        <section>
            <nav>
                <ul class="nav nav-pills nav-stacked">
                    <li role="presentation" class="active"><a href="#">学生管理</a></li>
                    <li role="presentation"><a href="./class.html">班级管理</a></li>
                    <li role="presentation"><a href="./exam.html">考试管理</a></li>
                </ul>
            </nav>
            <main>
                <div class="searchBox form-inline">
                    <input class="form-control" type="text">
                    <button class="form-control">搜索</button>
                </div>
                <div class="functionBox form-inline">
                    <button class="btn btn-success" data-toggle="modal" data-target="#addModal">新增</button>
                    <button class="btn btn-danger" data-toggle="modal" data-target="#delModal">批量删除</button>
                </div>
                <table class="table table-striped table-bordered table-hover">
                    <thead>
                        <tr>
                            <th>
                                <input type="checkbox">
                            </th>
                            <th>姓名</th>
                            <th>年龄</th>
                            <th>性别</th>
                            <th>班级</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td><input type="checkbox"></td>
                            <td>张三</td>
                            <td>18</td>
                            <td>男</td>
                            <td>前端班</td>
                            <td>
                                <button class="btn btn-warning" data-toggle="modal" data-target="#editModal">编辑</button>
                                <button data-toggle="modal" data-target="#delModal" class="btn btn-danger">删除</button>
                            </td>
                        </tr>
                        <tr>
                            <td><input type="checkbox"></td>
                            <td>张三</td>
                            <td>18</td>
                            <td>男</td>
                            <td>前端班</td>
                            <td>
                                <button class="btn btn-warning">编辑</button>
                                <button class="btn btn-danger">删除</button>
                            </td>
                        </tr>
                        <tr>
                            <td><input type="checkbox"></td>
                            <td>张三</td>
                            <td>18</td>
                            <td>男</td>
                            <td>前端班</td>
                            <td>
                                <button class="btn btn-warning">编辑</button>
                                <button class="btn btn-danger">删除</button>
                            </td>
                        </tr>
                        <tr>
                            <td><input type="checkbox"></td>
                            <td>张三</td>
                            <td>18</td>
                            <td>男</td>
                            <td>前端班</td>
                            <td>
                                <button class="btn btn-warning">编辑</button>
                                <button class="btn btn-danger">删除</button>
                            </td>
                        </tr>
                        <tr>
                            <td><input type="checkbox"></td>
                            <td>张三</td>
                            <td>18</td>
                            <td>男</td>
                            <td>前端班</td>
                            <td>
                                <button class="btn btn-warning">编辑</button>
                                <button class="btn btn-danger">删除</button>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <nav aria-label="Page navigation">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous">
                                <span aria-hidden="true">&laquo;</span>
                            </a>
                        </li>
                        <li><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li>
                            <a href="#" aria-label="Next">
                                <span aria-hidden="true">&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </main>
        </section>
    </div>

    <div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">新增</h4>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="form-group">
                            <label for="exampleInputEmail1">姓名</label>
                            <input type="text" class="form-control" id="exampleInputEmail1" placeholder="姓名">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputEmail1">年龄</label>
                            <input type="text" class="form-control" id="exampleInputEmail1" placeholder="年龄">
                        </div>
                        <div class="form-group">
                            <label >性别</label>
                            <div>
                                <label class="radio-inline">
                                    <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1"
                                        checked>男
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">女
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label>班级</label>
                            <select class="form-control">
                                <option>前端</option>
                                <option>java</option>
                              </select>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">编辑</h4>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="form-group">
                            <label for="exampleInputEmail1">姓名</label>
                            <input type="text" class="form-control" id="exampleInputEmail1" placeholder="姓名">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputEmail1">年龄</label>
                            <input type="text" class="form-control" id="exampleInputEmail1" placeholder="年龄">
                        </div>
                        <div class="form-group">
                            <label >性别</label>
                            <div>
                                <label class="radio-inline">
                                    <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1"
                                        checked>男
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">女
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label>班级</label>
                            <select class="form-control">
                                <option>前端</option>
                                <option>java</option>
                              </select>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="delModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-body">
                    您确定删除吗？
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary">确定</button>
                </div>
            </div>
        </div>
    </div>
    <script src="../js/student.js"></script>
</body>

</html>